#ifndef PLUGININTERFACE_H
#define PLUGININTERFACE_H

#include <QString>
#include <QAction>
#include <QWidget>

class MainWindow;

class PluginInterface
{
public:
    virtual ~PluginInterface() {}
    virtual void load(MainWindow* mv) = 0;
    virtual QString getCustomMenuName() = 0;
    virtual QString getCustomActionName() = 0;
    virtual QString getCustomActionPos() = 0;
    virtual QWidget* getWidget() = 0;
};

QT_BEGIN_NAMESPACE
Q_DECLARE_INTERFACE(PluginInterface,
                    "com.iFramework.PluginInterface/0.1");
QT_END_NAMESPACE

#endif // PLUGININTERFACE_H
